package com.springmvc.entities;

public class Department {

    private Integer id;
    private String departmentName;

    public Department () {}

    public Department (Integer id, String departmentName) {
        setId(id);
        setDepartmentName(departmentName);
    }

    public Integer getId () {
        return id;
    }

    public void setId (Integer id) {
        this.id = id;
    }

    public String getDepartmentName () {
        return departmentName;
    }

    public void setDepartmentName (String departmentName) {
        this.departmentName = departmentName;
    }
}
